package com.boco.pciv.service.sys;

import com.boco.pciv.core.service.PcivBaseService;
import com.boco.pciv.entity.sys.RoleBasicInfo;
import com.boco.pciv.entity.sys.RoleInfo;
import com.boco.pciv.entity.sys.RoleWithRightInfo;

import java.util.List;

/**
 * Created by 操 on 2017/01/17.
 */
public interface IRoleService extends PcivBaseService<RoleInfo,Integer> {
    RoleWithRightInfo getDetailWithRight(String roleid);
    List<RoleBasicInfo> getListByUser(String userid);
    RoleInfo getByRoleId(String id);
    void deleteRole(String roleid);
}
